﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.BaseData.Entitys.WMS.Entity;

/// <summary>
/// 单位转换表实体.
/// </summary>
[SugarTable("wms_base_unit_convert","单位转换表")]
[Tenant(ClaimConst.TENANTID)]
public class WmsBaseUnitConvertEntity : CLDEntityBase
{

    /// <summary>
    /// 物料.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialId",ColumnDescription = "物料")]
    public string MaterialId { get; set; }

    /// <summary>
    /// 主单位.
    /// </summary>
    [SugarColumn(ColumnName = "F_MainUnit",ColumnDescription = "主单位")]
    public string MainUnit { get; set; }

    /// <summary>
    /// 换算单位.
    /// </summary>
    [SugarColumn(ColumnName = "F_AlternateUnit",ColumnDescription = "换算单位")]
    public string AlternateUnit { get; set; }

    /// <summary>
    /// 系数.
    /// </summary>
    [SugarColumn(ColumnName = "F_Ratio",ColumnDescription = "系数")]
    public decimal Ratio { get; set; }

}